package com.mrjy.common.entity;

import com.mrjy.common.util.ExcelField;

import java.io.Serializable;
import java.util.Arrays;
import java.util.Date;

public class UserBalancePayment extends BaseEntity implements Serializable{
	
	private Integer id;
	
	//支付的用户ID
	@ExcelField(title="序号")
	private Integer userId;
	@ExcelField(title="订单号")
	private String code;
	@ExcelField(title="订单名目")
	private String name;
	@ExcelField(title="价格")
	private Float money;
	//支付的用户名
	@ExcelField(title="付费者")
	private String userName;
	//用户的手机号码
	@ExcelField(title="手机号")
	private String userMobilePhone;
	//支付时间
	@ExcelField(title="下单时间")
	private Date orderTime;
	//支付完成时间
	@ExcelField(title="付费时间")
	private Date completeTime;
	//推荐用户名
	@ExcelField(title="推广者")
	private String recommenderName;
	//推荐用户的推荐码
	@ExcelField(title="推广码")
	private String recommenderCode;
	//推荐的状态
	@ExcelField(title="状态")
	private String statusName;
	@ExcelField(title="结算")
	private String settleStatus; //订单的推广分成状态(1:已结算   0:未结算)
	//年级的ID
	private Integer gradeId;
	
	//推荐的状态ID
	private Integer statusId;

	
	private String tradeNo;
	
	//价格
	private Float price;
	
	//购买数量
	private Integer amount; 
	
	private String orderTimeString;
	
	
	private String completeTimeString;
	
	//支付方式
	private String paymentMethod;
	
	//取消支付标识
	private Integer deleteFlag;
	
	//开始时间
	private Date startTime;
	
	private String startTimeString;
	
	//结束时间
	private Date endTime;
	
	private String endTimeString;
	
	private String html;
	
	private String messageString;
	
	private String url;
	
	//班级名称
	private String className;
	
	//返回路径
	private String return_url;
	
	//修改路径
	private String notify_url;
	
	private String wxnotify_url;
	
	//类型ID 1:余额充值;2:会员充值续费;3:福卡;4:课程包;5:升级分销商 ;6:语音偷听;7:校推; 8:语音提问; 9:微课; 10:购买活动
	private Integer typeId;
	/*
	 * 付款项目id ，如果是课程包，则为课程包id;如果是分销商，则为分销商id;
	 */
	private Integer paymentProgramId; 
	
	private String note; //订单备注
	/**
	 * 会员套餐类型id（vip_package_info表的typeId）
	 */
	private int vipPackageTypeId ;
	//代金券id 对应integral_exchanged_log表的id
	private Integer voucherId; 
	private String isSpecial; //是否特价 0-否 1-是 2-活动
	private Integer teacherId; //老师的userId
	//花费积分数
	private Integer integral; 

    //退款的订单号
    private String refundCode;

    public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getUserMobilePhone() {
		return userMobilePhone;
	}

	public void setUserMobilePhone(String userMobilePhone) {
		this.userMobilePhone = userMobilePhone;
	}

	public String getRecommenderName() {
		return recommenderName;
	}

	public void setRecommenderName(String recommenderName) {
		this.recommenderName = recommenderName;
	}

	public String getRecommenderCode() {
		return recommenderCode;
	}

	public void setRecommenderCode(String recommenderCode) {
		this.recommenderCode = recommenderCode;
	}

	public Integer getStatusId() {
		return statusId;
	}

	public void setStatusId(Integer statusId) {
		this.statusId = statusId;
	}

	public Integer getGradeId() {
		return gradeId;
	}

	public void setGradeId(Integer gradeId) {
		this.gradeId = gradeId;
	}

	public String getStatusName() {
		return statusName;
	}

	public void setStatusName(String statusName) {
		this.statusName = statusName;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getTradeNo() {
		return tradeNo;
	}

	public void setTradeNo(String tradeNo) {
		this.tradeNo = tradeNo;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Float getMoney() {
		return money;
	}

	public void setMoney(Float money) {
		this.money = money;
	}

	public Float getPrice() {
		return price;
	}

	public void setPrice(Float price) {
		this.price = price;
	}

	public Date getOrderTime() {
		return orderTime;
	}

	public void setOrderTime(Date orderTime) {
		this.orderTime = orderTime;
	}

	public String getOrderTimeString() {
		return orderTimeString;
	}

	public void setOrderTimeString(String orderTimeString) {
		this.orderTimeString = orderTimeString;
	}

	public Date getCompleteTime() {
		return completeTime;
	}

	public void setCompleteTime(Date completeTime) {
		this.completeTime = completeTime;
	}

	public String getCompleteTimeString() {
		return completeTimeString;
	}

	public void setCompleteTimeString(String completeTimeString) {
		this.completeTimeString = completeTimeString;
	}

	public String getPaymentMethod() {
		return paymentMethod;
	}

	public void setPaymentMethod(String paymentMethod) {
		this.paymentMethod = paymentMethod;
	}

	public Integer getDeleteFlag() {
		return deleteFlag;
	}

	public void setDeleteFlag(Integer deleteFlag) {
		this.deleteFlag = deleteFlag;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public String getStartTimeString() {
		return startTimeString;
	}

	public void setStartTimeString(String startTimeString) {
		this.startTimeString = startTimeString;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public String getEndTimeString() {
		return endTimeString;
	}

	public void setEndTimeString(String endTimeString) {
		this.endTimeString = endTimeString;
	}

	public String getHtml() {
		return html;
	}

	public void setHtml(String html) {
		this.html = html;
	}

	public String getMessageString() {
		return messageString;
	}

	public void setMessageString(String messageString) {
		this.messageString = messageString;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getClassName() {
		return className;
	}

	public void setClassName(String className) {
		this.className = className;
	}

	public String getReturn_url() {
		return return_url;
	}

	public void setReturn_url(String return_url) {
		this.return_url = return_url;
	}

	public String getNotify_url() {
		return notify_url;
	}

	public void setNotify_url(String notify_url) {
		this.notify_url = notify_url;
	}

	public String getWxnotify_url() {
		return wxnotify_url;
	}

	public void setWxnotify_url(String wxnotify_url) {
		this.wxnotify_url = wxnotify_url;
	}
	
	
	

	public Integer getTypeId() {
		return typeId;
	}

	public void setTypeId(Integer typeId) {
		this.typeId = typeId;
	}

	public Integer getPaymentProgramId() {
		return paymentProgramId;
	}

	public void setPaymentProgramId(Integer paymentProgramId) {
		this.paymentProgramId = paymentProgramId;
	}

	@Override
	public String toString() {
		return "UserBalancePayment [userId=" + userId + ", userName="
				+ userName + ", userMobilePhone=" + userMobilePhone
				+ ", recommenderName=" + recommenderName + ", recommenderCode="
				+ recommenderCode + ", gradeId=" + gradeId + ", statusId="
				+ statusId + ", statusName=" + statusName + ", code=" + code
				+ ", tradeNo=" + tradeNo + ", name=" + name + ", money="
				+ money + ", price=" + price + ", orderTime=" + orderTime
				+ ", orderTimeString=" + orderTimeString + ", completeTime="
				+ completeTime + ", completeTimeString=" + completeTimeString
				+ ", paymentMethod=" + paymentMethod + ", deleteFlag="
				+ deleteFlag + ", startTime=" + startTime
				+ ", startTimeString=" + startTimeString + ", endTime="
				+ endTime + ", endTimeString=" + endTimeString + ", html="
				+ html + ", messageString=" + messageString + ", url=" + url
				+ ", className=" + className + ", return_url=" + return_url
				+ ", notify_url=" + notify_url + ", wxnotify_url="
				+ wxnotify_url + ", typeId=" + typeId + ", getIds()="
				+ Arrays.toString(getIds()) + ", getDisableFlag()="
				+ getDisableFlag() + ", getId()=" + getId() + ", getPage()="
				+ getPage() + ", getRows()=" + getRows() + ", getPageStart()="
				+ getPageStart() + ", getText()=" + getText() + ", getClass()="
				+ getClass() + ", hashCode()=" + hashCode() + ", toString()="
				+ super.toString() + "]";
	}

	public String getSettleStatus() {
		return settleStatus;
	}

	public void setSettleStatus(String settleStatus) {
		this.settleStatus = settleStatus;
	}

	public String getNote() {
		return note;
	}

	public void setNote(String note) {
		this.note = note;
	}

	public int getVipPackageTypeId() {
		return vipPackageTypeId;
	}

	public void setVipPackageTypeId(int vipPackageTypeId) {
		this.vipPackageTypeId = vipPackageTypeId;
	}

	public Integer getVoucherId() {
		return voucherId;
	}

	public void setVoucherId(Integer voucherId) {
		this.voucherId = voucherId;
	}

	public String getIsSpecial() {
		return isSpecial;
	}

	public void setIsSpecial(String isSpecial) {
		this.isSpecial = isSpecial;
	}

	public Integer getTeacherId() {
		return teacherId;
	}

	public void setTeacherId(Integer teacherId) {
		this.teacherId = teacherId;
	}


    public String getRefundCode() {
        return refundCode;
    }

    public void setRefundCode(String refundCode) {
        this.refundCode = refundCode;
    }

	public Integer getIntegral() {
		return integral;
	}

	public void setIntegral(Integer integral) {
		this.integral = integral;
	}

	public Integer getAmount() {
		return amount;
	}

	public void setAmount(Integer amount) {
		this.amount = amount;
	}
}
